<?php

namespace app\model\store;

use app\model\BaseModel;

class Banner extends BaseModel
{
    /**
     * 数据表主键
     * @var string
     */
    protected $pk = 'id';

    protected $name = 'banners';

    protected function getUrlAttr($value)
    {
        return env('app.image_domain', '') . $value;
    }


}